import http from "../services/http";
export const GetSearchSongs = (data) => http("GET", "/search", data);
export const GetHomeBanners = (data) => http("GET", "/banner", data);
//获取推荐新歌
export const GetRecommendNewSongs = (data) =>
  http("GET", "/personalized/newsong", data);
//最热
export const GetTopList = (data) => http("GET", "/toplist", data);
// export const GetTopListDetail = (data) => http("GET", "/toplist/detail", data);
//热门电台
// export const GetDtHotList = (data) => http("GET", "/dj/hot", data);
// 推荐歌单
export const GetPlayList = (data) => http("GET", "/personalized", data);
//推荐Move
export const GetMvHotList = (data) => http("GET", "/personalized/mv", data);
// 获取热门歌手
export const GetSingerHotList = (data) => http("GET", "/top/artists", data);
//数字专辑-新碟上架
export const GetAlbumList = (data) => http("GET", "/album/list", data);
//获取每日推荐歌曲
export const GetRecommendDaySongs = (data) =>
  http("GET", "/recommend/songs", data);
//搜索建议
export const GetSearchSongsSugList = (data) =>
  http("GET", "/search/suggest", data);
//热搜列表
export const GetSearchSongsHotList = (data) =>
  http("GET", "/search/hot/detail", data);
//获取歌曲详情
export const GetSongDetail = (data) => http("GET", "/song/detail", data);
//获取歌曲地址
export const GetSongUrl = (data) => http("GET", "/song/url", data);
//获取歌词
export const GetSongLyrics = (data) => http("GET", "/lyric", data);
//获取逐字歌词(可能有歌曲不包含逐字歌词)
export const GetSongLyricsNew = (data) => http("GET", "/lyric/new", data);
//新建歌单
export const GetPlayListCreate = (data) =>
  http("GET", "/playlist/create", data);
//删除歌单
export const GetPlayListDelete = (data) =>
  http("GET", "/playlist/delete", data);
//更新歌单名
export const GetPlayListNameUpdate = (data) =>
  http("GET", "/playlist/name/update", data);
// 歌单详情或排行榜
export const GetPlayListDetail = (data) =>
  http("GET", "/playlist/detail", data);
//获取相似音乐
export const GetSimilarSong = (data) => http("GET", "/simi/song", data);
//获取相似Move
export const GetSimilarMove = (data) => http("GET", "/simi/mv", data);
//获取歌手单曲
export const GetSingerSongs = (data) => http("GET", "/artists", data);
//获取Move详情
export const GetMoveDetail = (data) => http("GET", "/mv/detail", data);
//获取Move地址
export const GetMoveUrl = (data) => http("GET", "/mv/url", data);
